﻿using System;

namespace _38_匿名类型_继承与多态
{
    class Program
    {
        static void Main(string[] args)
        {
            var d = new
            {
                Color = "白色",
                Size = 43.6f,
                Number = 7988
            };

            string str = $"颜色:{d.Color}\n尺码：{d.Size}\n编号：{d.Number}";
            Console.WriteLine("商品信息：\n{0}", str);

        }
    }
}
